import {get,post} from '../utils/request'
//获取核检人列表
const reviewer=(params:any):any=>{

  return get("visit/reviewer/list",params);

}

// 根据id查询单条核销人员记录
const getShow=(id:number):any=>{

  return get("visit/reviewer/show",{id});

}

// 删除核销人（支持单删、批删）
const revdel=(params:any):any=>{

  return get("visit/reviewer/del",params);

}

// 添加核销人员接口
const postAdd=(params:any):any=>{

  return post("visit/reviewer/add",params);

}

// 修改核销人员接口
const postEdit=(params:any):any=>{

  return post("visit/reviewer/edit",params);

}

// 核销日志列表接口
const revLog=(params:any):any=>{

  return get("visit/reviewer/log",params);

}


export {reviewer,revdel,getShow,postAdd,revLog,postEdit}